<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:s="http://jboss.com/products/seam/taglib"
	xmlns:a="https://ajax4jsf.dev.java.net/ajax"
	xmlns:rich="http://richfaces.ajax4jsf.org/rich"
	xmlns:ctg="http://www.crotouristguide.com/taglib">
<body>
<ui:composition template="/templates/layout/columns_1.xhtml">
	<ui:define name="column1">
		<s:cache key="park_column1_#{param.idParka}_#{currentLang}"
			region="pageFragments">
			<rich:panel id="desc" styleClass="no-border">
				<s:div styleClass="title">
					<h1><h:outputText value="#{parkDetails.naziv}" /></h1>
				</s:div>
				<s:div styleClass="leftm">
					<ctg:imageGallery slike="#{slikeByPark}"
						panoramio="#{panoramioSlikeByPark}" alt="#{parkDetails.naziv}" />
					<div class="infotxt">
						<h:outputFormat value="#{messages['label.images.number']}">
							<f:param
								value="#{panoramioSlikeByPark == null ? 0 : panoramioSlikeByPark.size()}"></f:param>
						</h:outputFormat>
						<ctg:nbsp />
						<h:outputText value="|"></h:outputText>
						<ctg:nbsp />
						<s:link value="#{messages['image.addnew']}" styleClass="special2"
							action="#{slikaAction.addSlika('backToPark')}" />
					</div>
				</s:div>
				<s:div styleClass="left desc">
					<ctg:wikiPanel obj="#{parkDetails}" length="700" />
				</s:div>
				<s:div styleClass="clearb" />
			</rich:panel>
			<f:subview rendered="#{parkDetails.latituda != null}">
				<rich:panel styleClass="no-border">
					<h2>#{messages['title.geo.location']}</h2>
					<ctg:pageGMaps />
				</rich:panel>
				<rich:panel styleClass="no-border">
					<ctg:googleAds width="468" height="60" slot="5912787764" />
				</rich:panel>
			</f:subview>
			<ctg:objave back="backToPark" />
			<ctg:dojmovi back="backToPark" />
		</s:cache>
	</ui:define>
	<ui:define name="column2">
		<s:cache key="park_column2_#{param.idParka}_#{currentLang}"
			region="pageFragments">

		</s:cache>
	</ui:define>
	<ui:define name="column3">
		<ctg:googleAds width="120" height="600" slot="9364832571" />
	</ui:define>
	<ui:define name="tasks">
		<ctg:tasks />
	</ui:define>
</ui:composition>
</body>
</html>